import { createApp, defineAsyncComponent } from 'vue';
import ContextMenu from '@imengyu/vue3-context-menu';

import router from '@/app-router';
import i18n from '@/i18n';

import 'element-plus/dist/index.css';
import '@imengyu/vue3-context-menu/lib/vue3-context-menu.css';
import '@/style.css';

const App = defineAsyncComponent(() => import('./App.vue'));
const app = createApp(App);
app.use(ContextMenu);
app.use(i18n);
app.use(router);
app.mount('#app');
